<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false"%>
<%
	String path = request.getContextPath();
	String webpath = path + "/qiantai";
%>

	<script type="text/javascript">
        
		 
		    function auser()
         {
            var url="<%=path%>/auser/index.jsp";
            window.open(url,"_blank");
         }
         	 function searcht(){
		    document.forms.formsearch.submit();
		 }
    </script>
    <link rel="stylesheet"  href="<%=webpath%>/css/top.css" />
 <div class="head">
	<div class="head-top clearfix">
		<div class="logo imgbox fl">
			<a href="<%=path%>/"  ><img src="<%=path%>/qiantai/images/lansebiaoti.png" alt="logo"></a>
		</div>
		 <form action="<%=path%>/clist.action" method="post">
			<div class="search-box fl" data-hook="searchSuggest">
				<input class="search-text fl" name="qname" type="text"  placeholder="作者/名称/关键字" autocomplete="off" disableautocomplete=""> <input type="submit" class="search-btn fr">
			<div class="sres_list" style="display: none;"></div></div>
		</form>

		
 

  <c:if test="${sessionScope.user==null}">
        <div class="right-wrap-login ud_userTox">
    <div class="unlogin ud_unlogin clearfix">
        <div class="login fl"><a class="user_login" href="<%=webpath%>/userinfo/userLogin.jsp">登录</a></div>
        <div class="regist fl"><a class="user_register" href="<%=webpath%>/userinfo/userReg.jsp">注册</a></div>
    </div>
</div>
        </c:if>
        
        
               <c:if test="${sessionScope.userType==1 || sessionScope.userType==2}">
 
       
        <div class="right-wrap-login ud_userTox">
    <div class="unlogin ud_unlogin clearfix">
     <div class="login fl"><a class="user_register" href="#" onclick="auser()">个人中心</a></div>
        <div class="regist fl"><a class="user_login" href="<%=path%>/userLogout.action">退出系统</a></div>
       
    </div>
</div>


        </c:if>


	</div>
	<div class="nav clearfix">
		<div class="menu-left fl">

			<a <c:if test="${cid==null}">class="active"</c:if>    href="<%=path%>/index.action"  >云梦公益平台<c:if test="${cid==null}"><em></em></c:if></a>
			   <c:forEach items="${clist}" var="cinfo">
	         
		   <a  <c:if test="${cid==cinfo.catelogId}">class="active"</c:if>  href="<%=path%>/clist.action?cid=${cinfo.catelogId}">${cinfo.catelogName}<c:if test="${cid==cinfo.catelogId}"><em></em></c:if></a>
				  
	         </c:forEach>
		</div>
		<div class="menu-right fr">
		 
		</div>
	</div>
</div>


    <div class="com-recbox"  >
          <a href="#" target="_blank" class="adClickCss" adposition="240517642411" adgroup="100"><img src="<%=path%>/qiantai/images/241529674980.png" width="1020" height="80" border="0"></a>
          </div>
